package gui;

public class MainClass {
	public static void main(String args[]){
		core.ProcessorClass processor = new core.ProcessorClass();
		gui.MainWindow mw = new gui.MainWindow(processor);
		devices.PadWindow pad = new devices.PadWindow(processor.mem, mw, mw, processor, 0xFFF0, 3);
		devices.Timer timer = new devices.Timer(processor.mem, processor, 0xFFE0, 1);
		devices.NetDevice netDevice = new devices.NetDevice(processor.mem, mw, processor, 0xFFD0, 2);

		mw.setPad(pad);
		mw.setTimer(timer);
		mw.setNetDevice(netDevice);

		processor.setCallBack(mw);
		processor.setInterruptInterface(mw);
		processor.setTimer(timer);
		processor.setNetDevice(netDevice);

		mw.allChanged();
	}
}
